﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200051D RID: 1309
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FeatureSwitchClosedScNotify : IMessage<FeatureSwitchClosedScNotify>, IMessage, IEquatable<FeatureSwitchClosedScNotify>, IDeepCloneable<FeatureSwitchClosedScNotify>, IBufferMessage
	{
		// Token: 0x170010F2 RID: 4338
		// (get) Token: 0x06003B39 RID: 15161 RVA: 0x000A2FAD File Offset: 0x000A11AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FeatureSwitchClosedScNotify> Parser
		{
			get
			{
				return FeatureSwitchClosedScNotify._parser;
			}
		}

		// Token: 0x170010F3 RID: 4339
		// (get) Token: 0x06003B3A RID: 15162 RVA: 0x000A2FB4 File Offset: 0x000A11B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FeatureSwitchClosedScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170010F4 RID: 4340
		// (get) Token: 0x06003B3B RID: 15163 RVA: 0x000A2FC6 File Offset: 0x000A11C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FeatureSwitchClosedScNotify.Descriptor;
			}
		}

		// Token: 0x06003B3C RID: 15164 RVA: 0x000A2FCD File Offset: 0x000A11CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FeatureSwitchClosedScNotify()
		{
		}

		// Token: 0x06003B3D RID: 15165 RVA: 0x000A2FD5 File Offset: 0x000A11D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FeatureSwitchClosedScNotify(FeatureSwitchClosedScNotify other) : this()
		{
			this.mKGHPNAOCFB_ = other.mKGHPNAOCFB_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003B3E RID: 15166 RVA: 0x000A2FFA File Offset: 0x000A11FA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FeatureSwitchClosedScNotify Clone()
		{
			return new FeatureSwitchClosedScNotify(this);
		}

		// Token: 0x170010F5 RID: 4341
		// (get) Token: 0x06003B3F RID: 15167 RVA: 0x000A3002 File Offset: 0x000A1202
		// (set) Token: 0x06003B40 RID: 15168 RVA: 0x000A300A File Offset: 0x000A120A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FeatureSwitchType MKGHPNAOCFB
		{
			get
			{
				return this.mKGHPNAOCFB_;
			}
			set
			{
				this.mKGHPNAOCFB_ = value;
			}
		}

		// Token: 0x06003B41 RID: 15169 RVA: 0x000A3013 File Offset: 0x000A1213
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FeatureSwitchClosedScNotify);
		}

		// Token: 0x06003B42 RID: 15170 RVA: 0x000A3021 File Offset: 0x000A1221
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FeatureSwitchClosedScNotify other)
		{
			return other != null && (other == this || (this.MKGHPNAOCFB == other.MKGHPNAOCFB && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003B43 RID: 15171 RVA: 0x000A3050 File Offset: 0x000A1250
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MKGHPNAOCFB != FeatureSwitchType.FeatureSwitchNone)
			{
				num ^= this.MKGHPNAOCFB.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003B44 RID: 15172 RVA: 0x000A3095 File Offset: 0x000A1295
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003B45 RID: 15173 RVA: 0x000A309D File Offset: 0x000A129D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003B46 RID: 15174 RVA: 0x000A30A6 File Offset: 0x000A12A6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MKGHPNAOCFB != FeatureSwitchType.FeatureSwitchNone)
			{
				output.WriteRawTag(56);
				output.WriteEnum((int)this.MKGHPNAOCFB);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003B47 RID: 15175 RVA: 0x000A30D8 File Offset: 0x000A12D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MKGHPNAOCFB != FeatureSwitchType.FeatureSwitchNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.MKGHPNAOCFB);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003B48 RID: 15176 RVA: 0x000A3116 File Offset: 0x000A1316
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FeatureSwitchClosedScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MKGHPNAOCFB != FeatureSwitchType.FeatureSwitchNone)
			{
				this.MKGHPNAOCFB = other.MKGHPNAOCFB;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003B49 RID: 15177 RVA: 0x000A3147 File Offset: 0x000A1347
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003B4A RID: 15178 RVA: 0x000A3150 File Offset: 0x000A1350
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.MKGHPNAOCFB = (FeatureSwitchType)input.ReadEnum();
				}
			}
		}

		// Token: 0x0400174D RID: 5965
		private static readonly MessageParser<FeatureSwitchClosedScNotify> _parser = new MessageParser<FeatureSwitchClosedScNotify>(() => new FeatureSwitchClosedScNotify());

		// Token: 0x0400174E RID: 5966
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400174F RID: 5967
		public const int MKGHPNAOCFBFieldNumber = 7;

		// Token: 0x04001750 RID: 5968
		private FeatureSwitchType mKGHPNAOCFB_;
	}
}
